﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Runda.CMS.Web.Controls.Lookup
{
    public class LookupSinglePage:LookupPageBase
    {
        // Fields
        private LookupMode _mode;

        public override LookupMode Mode
        {
            get
            {
                return this._mode;
            }
            set
            {
                this._mode = value;
            }
        }

        public LookupSinglePage()
        {
            this._mode |= LookupMode.ShowColumns;
        }

        protected override void ConfigureForm()
        {
        }

        protected void ShowDescription()
        {
            if (LookupPageBase.CheckBit((int)this.Mode, 1))
            {
                this.Response.Write("选择你所要的记录并点确定。");
            }
            else
            {
                this.Response.Write("在查找输入框输入你要查找的信息并点&#8220;查找&#8221;，然后，选择你所要的记录并点确定。");
            }
        }   
    }
}
